package il.ac.tau.cg.ex3.entities.surfaces;

import il.ac.tau.cg.ex3.entities.styles.Material;
import il.ac.tau.cg.ex3.math.shapes.Disc;
import il.ac.tau.cg.ex3.math.shapes.Shape;

public class DiscSurface extends Surface
{
	private Disc disc;
	
	public DiscSurface(Material material, Disc disc)
	{
		super(material);
		
		this.disc = disc;
	}
	
	public void setDisc(Disc disc)
	{
		this.disc = disc;
	}
	
	public Disc getDisc()
	{
		return disc;
	}

	@Override
	public int getType()
	{
		return SurfaceTypes.DISC;
	}

	@Override
	public Shape getShape()
	{
		return disc;
	}
}
